package com.aitaoxue.palx.ui;

import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.view.View;

import com.aitaoxue.palx.R;
import com.aitaoxue.palx.base.BaseActivity;
import com.aitaoxue.palx.fragment.PullOrderFragment;

//一键抢单
public class PullOrderActivity extends BaseActivity {

	@Override
	protected boolean hasBackButton() {
		return true;
	}

	@Override
	protected int getActionBarTitle() {
		return R.string.pull_order;
	}

	@Override
	protected int getLayoutId() {
		return R.layout.activity_blog;
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub

	}

	@Override
	public void initView() {
		FragmentManager fm = getSupportFragmentManager();
		FragmentTransaction transaction = fm.beginTransaction();
		PullOrderFragment fragment = new PullOrderFragment();
		transaction.replace(R.id.container, fragment);
		transaction.commit();
	}

	@Override
	public void initData() {
		// TODO Auto-generated method stub

	}

}
